<?php 
if($_GET['act']=='login'){
    if(Addslashes($_POST['password'])!='123456789'){
		echo "<script>alert('密码错误！');location.href='home.php';</script>";
		exit();
	}
}	
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Manager</title>
<style>
#header {
	background-color:black;
	color:white;
	text-align:center;
    padding:1px;}
#foot {
	background-color:black;
	color:white;
	text-align:center;
    padding:20px;
	clear:both;
}
.city {
	background-color:yellow;
    float: left;
    margin: 5px;
    padding: 15px;
    width: 600px;
    height: 280px;
    border: 2px solid black;
	text-align:center;
} 
</style> 
</head>
<body>
<div id="header">
    <h1>系统管理</h1>
</div>
<div class="city">
    <h2><a href="./manager.php?id=yh1">用户管理</a></h2>
	<b>ps:查看所有用户的<br>信息，可以从中删除<br>一些用户</b>
</div>
<div class="city">
    <h2><a href="./manager.php?id=wz1">文章管理</a></h2>
    <b>ps:查看所有用户的<br>文章，可以从中删除<br>一些文章</b>
</div>
<div id="foot">
    <a href="./home.php">返回首页</a>
</div>
 </body>
 </html>